# 转移地址在内存中的 jmp 指令

# 段内转移

mov ax,0123h
mov ds:[0],ax
jmp word ptr ds:[0]

# 执行后 (IP) = 0123h


# 段间转移
# (CS) = (内存单元地址 + 2)
# (IP) = (内存单元地址)

mov ax,0123h
mov ds:[0],ax
mov word ptr ds:[2],0
jmp dword ptr ds:[0]

# 执行后  (CS) = 0 ,(IP) = 0123h ,CS:IP 指向  0000:0123